//引入Vue核心库
import { option1Data } from '@/views/stationsAnalysis/four/assets/echarts'
import Vue from 'vue'
//引入Vuex
import Vuex from 'vuex'
//引用Vuex
Vue.use(Vuex)

export default {
    namespaced: true,
    actions: {
       
    },

    mutations: {
       
    },
     getters : {
	   
    },

    state: {
        option1Data: {
                 color: ['#5087ec', '#75f9fd', '#55a15b'],
                title: [
                    {
                        top: 5,
                        left: 'center',
                        text: '产量分析',
                        textStyle: {
                            color: '#F28C42',
                            fontSize: 20
                        }
                    },
                    {
                        text: '产油情况',
                        top: 40,
                        textStyle: {
                            color: '#6DA7F0',
                            fontSize: 17
                        }
                    }
                ],
                
              xAxis: {
                    axisLabel: {
                        color: '#fff'
                    },
                    data: ['07/16', '07/17', '07/18', '07/19', '07/20', '07/21']
                },
              
                series: [
                    {
                        name: '产液量',
                        type: 'line',
                        data: [54000, 53000, 52000, 54123, 56128, 55520],
                        label: {
                            show: true,
                            color: '#5087ec'
                        }
                    },
                    {
                        name: '产油量',
                        type: 'line',
                        data: [55555, 55520, 55536, 55510, 55510, 55520],
                        label: {
                            show: true,
                            color: '#75f9fd'
                        }
                    },
                    {
                        name: '外输油量',
                        type: 'line',
                        data: [45555, 45520, 45536, 45510, 35510, 35520],
                        label: {
                            show: true,
                            color: '#55a15b'
                        }
                    }
                ]
        },
        option2Data: {
                color: ['#5087ec', '#68BBC4', '#58A55C', '#f2bd42','#ee752f','#d95040'],
            title: [
                    {
                        top: 5,
                        left: 'center',
                        text: '原油脱水',
                        textStyle: {
                            color: '#F28C42',
                            fontSize: 20
                        }
                    },
                    {
                        text: '设备含水(%)',
                        top: 40,
                        textStyle: {
                            color: '#6DA7F0',
                            fontSize: 17
                        }
                    }
                ],
              xAxis: {
                    axisLabel: {
                        color: '#fff'
                    },
                    data: ['07/16', '07/17', '07/18', '07/19', '07/20', '07/21']
            },          
                series: [
                    {
                        name: '1#沉降罐含水',
                        type: 'line',
                        data: [54000, 53000, 52000, 54123, 56128, 55520],
                        label: {
                            show: true,
                            color: '#5087ec'
                        }
                    },
                    {
                        name: '2#沉降罐含水',
                        type: 'line',
                        data: [55555, 55520, 55536, 55510, 55510, 55520],
                        label: {
                            show: true,
                            color: '#68BBC4'
                        }
                    },
                    {
                        name: '提升泵含水',
                        type: 'line',
                        data: [45555, 45520, 45536, 45510, 35510, 35520],
                        label: {
                            show: true,
                            color: '#58A55C'
                        }
                    },
                      {
                        name: '1#含水限制',
                        type: 'line',
                        data: [45555, 45520, 45536, 45510, 35510, 35520],
                        label: {
                            show: true,
                            color: '#f2bd42'
                        }
                    },
                       {
                        name: '2#含水限制',
                        type: 'line',
                        data: [45555, 45520, 45536, 45345, 76876, 35520],
                        label: {
                            show: true,
                            color: '#ee752f'
                        }
                    },
                       {
                        name: '提升泵含水限制',
                        type: 'line',
                        data: [45555, 45345, 45338, 45510, 35510, 35520],
                        label: {
                            show: true,
                            color: '#d95040'
                        }
                    },
                ]
        },
        option3Data: {
                color: ['#5087ec', '#85d0dc', '#70b07a', '#f2bd42'],
           title: {
                    top: 10,
                    left: 10,
                    text: '2号稠油联合处理站',
                    textStyle: {
                        color: '#6DA7F0',
                        fontSize: 17
                    }
                },
              xAxis: {
                    axisLabel: {
                        color: '#fff'
                    },
                    data: ['07/16', '07/17', '07/18', '07/19', '07/20', '07/21']
            },
                series: [
                    {
                        name: '常规正相浓度',
                        type: 'line',
                        data: [60, 80, 88, 90, 96, 90],
                        label: {
                            show: true,
                            color: '#5087ec'
                            // formatter: '{c} %'
                        }
                    },
                    {
                        name: '常规反相浓度',
                        type: 'line',
                        data: [60, 61, 60, 65, 66, 58],
                        label: {
                            show: true,
                            color: '#85d0dc'
                            // formatter: '{c} %'
                        }
                    },
                    {
                        name: 'SAGD预处理剂浓度',
                        type: 'line',
                        data: [102, 102, 100, 100, 106, 100],
                        label: {
                            show: true,
                            color: '#70b07a'
                            // formatter: '{c} %'
                        }
                    },
                    {
                        name: 'SAGD正相浓度',
                        type: 'line',
                        data: [112, 132, 140, 120, 136, 140],
                        label: {
                            show: true,
                            color: '#f2bd42'
                            // formatter: '{c} %'
                        }
                    }
                ]
        },
        option4Data: {
                color: ['#f2bd42',],
                title: {
                    top: 20,
                    left: 10,
                    text: '处理气量',
                    textStyle: {
                        color: '#6DA7F0',
                        fontSize: 17
                    }
                },
                xAxis: {
                    axisLabel: {
                        color: '#fff'
                    },
                    data: ['07/16', '07/17', '07/18', '07/19', '07/20', '07/21']
            },
                 series: [
                    {
                        name: '处理气量',
                        type: 'line',
                        data: [54000, 53000, 52000, 54123, 56128, 55520],
                        label: {
                            show: true,
                            color: '#f2bd42'
                        }
                    }
                ]
        },
        option5Data: {
                color: ['#f2bd42','#bd2424'],
                title: {
                    top: 20,
                    left: 10,
                    text: '掺柴油浓度(%)',
                    textStyle: {
                        color: '#6DA7F0',
                        fontSize: 17
                    }
                },
                xAxis: {
                    axisLabel: {
                        color: '#fff'
                    },
                    data: ['07/16', '07/17', '07/18', '07/19', '07/20', '07/21']
            },
                  series: [
                    {
                        name: '掺柴油浓度',
                        type: 'line',
                        data: [54000, 53000, 52000, 54123, 56128, 55520],
                        label: {
                            show: true,
                            color: '#f2bd42'
                        }
                      },
                       {
                        name: '浓度高值',
                        type: 'line',
                        data: [54000, 53000, 52000, 54123, 56128, 55520],
                        label: {
                            show: true,
                            color: '#bd2424'
                        }
                    }
                ]
        },
        option6Data: {
                color: ['#75f9fd'],
                title: {
                    top: 20,
                    left: 10,
                    text: '净化气量',
                    textStyle: {
                        color: '#6DA7F0',
                        fontSize: 17
                    }
            },
                xAxis: {
                    axisLabel: {
                        color: '#fff'
                    },
                    data: ['07/16', '07/17', '07/18', '07/19', '07/20', '07/21']
            },
                series: [
                    {
                        name: '净化气量',
                        type: 'line',
                        data: [54000, 53000, 52000, 54123, 56128, 55520],
                        label: {
                            show: true,
                            color: '#75f9fd'
                        }
                    }
                ]
        },
        option7Data: {
                color: ['#6cff16'],
               title: {
                    top: 20,
                    left: 10,
                    text: '油量库存',
                    textStyle: {
                        color: '#6DA7F0',
                        fontSize: 17
                    }
                },
                xAxis: {
                    axisLabel: {
                        color: '#fff'
                    },
                    data: ['07/16', '07/17', '07/18', '07/19', '07/20', '07/21']
            },
                series: [
                    {
                        name: '油量库存(m³)',
                        type: 'line',
                        data: [54000, 53000, 52000, 54123, 56128, 55520],
                        label: {
                            show: true,
                            color: '#6cff16'
                        }
                    }
                ]
        },
        option8Data: {
              color: ['#ff5100'],
                title: [
                    {
                        top: 5,
                        left: 'center',
                        text: '来液压力（MPa）',
                        textStyle: {
                            color: '#F28C42',
                            fontSize: 20
                        }
                    }
                ],  xAxis: {
                    axisLabel: {
                        color: '#fff'
                    },
                    data: ['07/16', '07/17', '07/18', '07/19', '07/20', '07/21']
            },
                  series: [
                    {
                        name: '来液压力',
                        type: 'line',
                        data: [60, 80, 88, 90, 96, 90],
                        label: {
                            show: true,
                            color: '#ff5100'
                            // formatter: '{c} %'
                        }
                    }
                ]
        },
        option9Data: {
             color: ['#d3ec50'],
                title: [
                    {
                        top: 5,
                        left: 'center',
                        text: '来液温度（℃）',
                        textStyle: {
                            color: '#F28C42',
                            fontSize: 20
                        }
                    }
                ], xAxis: {
                    axisLabel: {
                        color: '#fff'
                    },
                    data: ['07/16', '07/17', '07/18', '07/19', '07/20', '07/21']
                },  series: [
                    {
                        name: '来液温度',
                        type: 'line',
                        data: [60, 80, 88, 90, 96, 90],
                        label: {
                            show: true,
                            color: '#d3ec50'
                            // formatter: '{c} %'
                        }
                    }
                ]
        },
        option10Data: {
            color: ['#5087ec'],
                title: [
                    {
                        top: 5,
                        left: 'center',
                        text: '总液量（m3）',
                        textStyle: {
                            color: '#F28C42',
                            fontSize: 20
                        }
                    }
                ], xAxis: {
                    axisLabel: {
                        color: '#fff'
                    },
                    data: ['07/16', '07/17', '07/18', '07/19', '07/20', '07/21']
                },     series: [
                    {
                        name: '总液量',
                        type: 'line',
                        data: [60, 80, 88, 90, 96, 90],
                        label: {
                            show: true,
                            color: '#5087ec'
                            // formatter: '{c} %'
                        }
                    }
                ]
        },
        option11Data: {
             color: ['#ff5100'],
                title: [
                    {
                        top: 5,
                        left: 'center',
                        text: '来液压力（MPa）',
                        textStyle: {
                            color: '#F28C42',
                            fontSize: 20
                        }
                    }
                ],  xAxis: {
                    axisLabel: {
                        color: '#fff'
                    },
                    data: ['07/16', '07/17', '07/18', '07/19', '07/20', '07/21']
                },series: [
                    {
                        name: '来液压力',
                        type: 'line',
                        data: [60, 80, 88, 90, 96, 90],
                        label: {
                            show: true,
                            color: '#ff5100'
                            // formatter: '{c} %'
                        }
                    }
                ]
        },
        option12Data: {
              color: ['#f2bd42', '#68bbc4'],
                title: [
                    {
                        top: 5,
                        left: 'center',
                        text: '采出液产量',
                        textStyle: {
                            color: '#F28C42',
                            fontSize: 20
                        }
                    },
                    {
                        text: '产油和产汽量(m³)',
                        top: 40,
                        textStyle: {
                            color: '#6DA7F0',
                            fontSize: 17
                        }
                    }
                ],  xAxis: {
                    axisLabel: {
                        color: '#fff'
                    },
                    data: ['07/16', '07/17', '07/18', '07/19', '07/20', '07/21']
                },  series: [
                    {
                        name: '产油量',
                        type: 'bar',
                        data: [
                            54000, 53000, 52000, 54123, 56128, 55520, 54213,
                            54712
                        ],
                        label: {
                            position: 'top',
                            show: true,
                            color: '#f2bd42'
                            // formatter: '{c} %'
                        }
                    },
                    {
                        name: '产水量',
                        type: 'bar',
                        data: [
                            55555, 55520, 55536, 55510, 55510, 55520, 51203,
                            53621
                        ],
                        label: {
                            position: 'top',
                            show: true,
                            color: '#68bbc4'
                            // formatter: '{c} %'
                        }
                    }
                ]
        },
        option13Data: {
                   color: ['#75f9fd'],
                title: [
                    {
                        top: 5,
                        left: 'center',
                        text: 'SAGD伴生气外输量',
                        textStyle: {
                            color: '#F28C42',
                            fontSize: 20
                        }
                    }
            ],
                   xAxis: {
                    axisLabel: {
                        color: '#fff'
                    },
                    data: ['07/16', '07/17', '07/18', '07/19', '07/20', '07/21']
                },   series: [
                    {
                        name: 'SAGD伴生气外输量',
                        type: 'line',
                        data: [
                            54000, 53000, 52000, 54123, 56128, 55520, 54213,
                            54712
                        ],
                        label: {
                            show: true,
                            color: '#75f9fd'
                            // formatter: '{c} %'
                        }
                    }
                ]
        },
        option14Data:{},
        option15Data: {
             color: ['#f2bd42'],
                title: {
                    top: 20,
                    left: 10,
                    text: '总液量（m3）',
                    textStyle: {
                        color: '#6DA7F0',
                        fontSize: 17
                    }
                },xAxis: {
                    axisLabel: {
                        color: '#fff'
                    },
                    data: ['07/16', '07/17', '07/18', '07/19', '07/20', '07/21']
                },  series: [
                    {
                        name: '总液量',
                        type: 'line',
                        data: [54000, 53000, 52000, 54123, 56128, 55520],
                        label: {
                            show: true,
                            color: '#f2bd42'
                        }
                    }
                ]
        },
        option16Data: {
            color: ['#5087ec', '#85d0dc', '#70b07a', '#f2bd42', '#ea732f'],
                title: [
                    {
                        top: 5,
                        left: 'center',
                        text: '水量',
                        textStyle: {
                            color: '#F28C42',
                            fontSize: 20
                        }
                    }
                ], xAxis: {
                    axisLabel: {
                        color: '#fff'
                    },
                    data: ['07/16', '07/17', '07/18', '07/19', '07/20', '07/21']
                },   series: [
                    {
                        name: '来水',
                        type: 'line',
                        data: [60, 80, 88, 90, 96, 90],
                        label: {
                            show: true,
                            color: '#5087ec'
                            // formatter: '{c} %'
                        }
                    },
                    {
                        name: '反应器',
                        type: 'line',
                        data: [60, 61, 60, 65, 66, 58],
                        label: {
                            show: true,
                            color: '#85d0dc'
                            // formatter: '{c} %'
                        }
                    },
                    {
                        name: '过滤出水',
                        type: 'line',
                        data: [102, 102, 100, 100, 106, 100],
                        label: {
                            show: true,
                            color: '#70b07a'
                            // formatter: '{c} %'
                        }
                    },
                    {
                        name: '回收量',
                        type: 'line',
                        data: [112, 132, 140, 120, 136, 140],
                        label: {
                            show: true,
                            color: '#f2bd42'
                            // formatter: '{c} %'
                        }
                    },
                    {
                        name: '总处理量',
                        type: 'line',
                        data: [152, 132, 130, 150, 166, 140],
                        label: {
                            show: true,
                            color: '#ea732f'
                            // formatter: '{c} %'
                        }
                    }
                ]
        },
        option17Data: {
             color: ['#75f9fd'],
                title: [
                    {
                        top: 5,
                        left: 'center',
                        text: '硅泥处理',
                        textStyle: {
                            color: '#F28C42',
                            fontSize: 20
                        }
                    },
                    {
                        text: '叠螺机进料（m³）',
                        top: 40,
                        textStyle: {
                            color: '#6DA7F0',
                            fontSize: 17
                        }
                    }
                ],xAxis: {
                    axisLabel: {
                        color: '#fff'
                    },
                    data: ['07/16', '07/17', '07/18', '07/19', '07/20', '07/21']
                }, series: [
                    {
                        name: '含油',
                        type: 'line',
                        data: [
                            54000, 53000, 52000, 54123, 56128, 55520, 54213,
                            54712
                        ],
                        label: {
                            show: true,
                            color: '#75f9fd'
                            // formatter: '{c} %'
                        }
                    }
                ]
        },
        option18Data:{},
        option19Data: {},
        option20Data:{ color: ['#75f9fd'],
                title: {
                    text: '湿泥含油（%）',
                    textStyle: {
                        color: '#6DA7F0',
                        fontSize: 17
                    }
                }, xAxis: {
                    axisLabel: {
                        color: '#fff'
                    },
                    data: ['07/16', '07/17', '07/18', '07/19', '07/20', '07/21']
                },series: [
                    {
                        name: '湿泥含油（%）',
                        type: 'line',
                        data: [60, 80, 88, 90, 96, 90],
                        label: {
                            show: true,
                            color: '#75f9fd'
                            // formatter: '{c} %'
                        }
                    }
                ]}
    }
}

 
